<template>
	<view class="finger">
		<image :src="`/static/images/finger/finger-${current}.png`" mode="" class="finger_image"></image>
	</view>
</template>

<script setup>
	defineProps({
		current: {
			type: Number,
			default: 0
		}
	})

</script>

<style lang="scss" scoped>
	.finger{
		width: 180rpx;
		height: 180rpx;
		margin: 0 auto;
		&_image{
			width: inherit;
			height: inherit;
		}
	}
</style>